const common = require('./webpack.common');
const {merge} = require('webpack-merge');
const webpack = require('webpack');

module.exports = merge(common, {
  // mode: 'development',
  devtool: '#eval-source-map',
  devServer: {
    hot: true,
    contentBase: ['./public']
  },
  plugins: [
    new webpack.HotModuleReplacementPlugin()
  ]
})
